<?php
$sport = $sport['Sport'];
?>
<h2> <?php echo $sport['name'];?> </h2>

<div class="clear">
    <div class="col6 left">
        <h3> Discover this sport </h3>
        <ul>
            <li><?php echo $this->Html->link("Read About it", array('action' => 'information', $sport['id'])); ?></li>
            <li><?php echo $this->Html->link("Lessons video to begin", array('action' => '???', $sport['id'])); ?></li>

        </ul>


    </div>

    <div class="col3 left">
        <h3> Latest Lessons </h3>    
        <?php
        foreach ($lastVideosTutorials as $videosTutorial){
            $usersVideo = $videosTutorial['UsersVideo'];
            $videosTutorial = $videosTutorial['VideosAdvice'];
        ?>
        <div>
            <h4 class="title"><?php echo $this->Display->usersVideoLink($usersVideo);?></h4>
        </div>
        <?php
        }
        ?>
    </div>
</div>


<div class="clear">
    
    <div class="col3 left">
        <h3> Montage  </h3>
        <?php
        foreach ($lastVideosEditings as $videosEditing){
            $usersVideo = $videosEditing['UsersVideo'];
            $videosEditing = $videosEditing['VideosAdvice'];
        ?>
        <div>
            <h4 class="title"><?php echo $this->Display->usersVideoLink($usersVideo);?></h4>
        </div>
        <?php
        }
        ?>

    </div>

    <div class="col3 left">
        <h3> Trick  </h3>
        <?php
        foreach ($lastVideosTricks as $videosTrick){
            $usersVideo = $videosTrick['UsersVideo'];
            $videosTrick = $videosTrick['VideosTrick'];
        ?>
        <div>
            <h4 class="title"><?php echo $this->Display->usersVideoLink($usersVideo);?></h4>
        </div>
        <?php
        }
        ?>

    </div>
    <div class="col4 right">
        <h3> They're asking for you advices ! </h3>
        <?php
        foreach ($lastVideosAdvices as $videosAdvice){
            $usersVideo = $videosAdvice['UsersVideo'];
            $videosAdvice = $videosAdvice['VideosAdvice'];
        ?>
        <div>
            The problem : <?php echo $videosAdvice['description'];?>
            <?php echo $this->Html->link("Help that guy !", array('action' => '', $usersVideo['id']));?>
        </div>
        <?php
        }
        ?>
    </div>
</div>